<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ResultDTO</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.css">
<link href="../style.css" rel="stylesheet" />
</head>
<body onload="PR.prettyPrint()">
<pre class="prettyprint lang-java">
public class ResultDTO implements Serializable{

    private boolean success; //
    private AccidentMessage data; //
    private int code; //
    private String message; //

    public boolean getSuccess(){
        return success;
    }

    public void setSuccess(boolean success){
        this.success = success;
    }

    public AccidentMessage getData(){
        return data;
    }

    public void setData(AccidentMessage data){
        this.data = data;
    }

    public int getCode(){
        return code;
    }

    public void setCode(int code){
        this.code = code;
    }

    public String getMessage(){
        return message;
    }

    public void setMessage(String message){
        this.message = message;
    }

}
</pre>


<pre class="prettyprint lang-java">
public class AccidentMessage implements Serializable{

    private long id; //id
    private long companyId; //多租户id
    private String accidentNo; //事故编号
    private String accidentName; //事故名称
    private String position; //事故发生地点
    private String happenTime; //事故发生时间
    private long departmentId; //事故责任单位/部门id
    private String briefHistory; //事故发生简要经过
    private String personSituation; //事故人员伤亡情况
    private String onSiteTreatment; //现场处理情况
    private String measuresTaken; //已采取的措施
    private String annexUrls; //附件url，多个url用逗号分隔
    private byte status; //状态: 0待提交，1待审核，2审核通过，3审核驳回
    private String createTime; //登记时间
    private long creator; //登记人id

    public long getId(){
        return id;
    }

    public void setId(long id){
        this.id = id;
    }

    public long getCompanyId(){
        return companyId;
    }

    public void setCompanyId(long companyId){
        this.companyId = companyId;
    }

    public String getAccidentNo(){
        return accidentNo;
    }

    public void setAccidentNo(String accidentNo){
        this.accidentNo = accidentNo;
    }

    public String getAccidentName(){
        return accidentName;
    }

    public void setAccidentName(String accidentName){
        this.accidentName = accidentName;
    }

    public String getPosition(){
        return position;
    }

    public void setPosition(String position){
        this.position = position;
    }

    public String getHappenTime(){
        return happenTime;
    }

    public void setHappenTime(String happenTime){
        this.happenTime = happenTime;
    }

    public long getDepartmentId(){
        return departmentId;
    }

    public void setDepartmentId(long departmentId){
        this.departmentId = departmentId;
    }

    public String getBriefHistory(){
        return briefHistory;
    }

    public void setBriefHistory(String briefHistory){
        this.briefHistory = briefHistory;
    }

    public String getPersonSituation(){
        return personSituation;
    }

    public void setPersonSituation(String personSituation){
        this.personSituation = personSituation;
    }

    public String getOnSiteTreatment(){
        return onSiteTreatment;
    }

    public void setOnSiteTreatment(String onSiteTreatment){
        this.onSiteTreatment = onSiteTreatment;
    }

    public String getMeasuresTaken(){
        return measuresTaken;
    }

    public void setMeasuresTaken(String measuresTaken){
        this.measuresTaken = measuresTaken;
    }

    public String getAnnexUrls(){
        return annexUrls;
    }

    public void setAnnexUrls(String annexUrls){
        this.annexUrls = annexUrls;
    }

    public byte getStatus(){
        return status;
    }

    public void setStatus(byte status){
        this.status = status;
    }

    public String getCreateTime(){
        return createTime;
    }

    public void setCreateTime(String createTime){
        this.createTime = createTime;
    }

    public long getCreator(){
        return creator;
    }

    public void setCreator(long creator){
        this.creator = creator;
    }

}
</pre>



<script src="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.js"></script>
</body>
</html>